package com.zw.admin.server.dao;

import com.zw.admin.server.commom.TkMapper;
import com.zw.admin.server.model.Device;
import com.zw.admin.server.model.SpaceDevice;
import com.zw.admin.server.model.StrategyDevice;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface StrategyDeviceDao extends TkMapper<StrategyDevice> {

    @Select("select * from bsn_strategy_device where strategy_id = #{strategyId}")
    List<StrategyDevice> selectByStrategyId(@Param("strategyId") Integer strategyId);
}
